package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallUserHierarchyDao;
import com.appkubes.mall.core.entity.MallUserHierarchy;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallUserHierarchyService extends AbstractBaseService<BaseMallUserHierarchyDao, MallUserHierarchy> {

    MallUserHierarchy getOneByEntity(MallUserHierarchy entity);

    List<MallUserHierarchy> selectListByEntity(MallUserHierarchy entity);

    IPage<MallUserHierarchy> selectPageByEntity(IPage<MallUserHierarchy> page);
    IPage<MallUserHierarchy> selectPageByEntity(PageVO pageVO);

    IPage<MallUserHierarchy> selectPageByEntity(MallUserHierarchy entity, IPage<MallUserHierarchy> page);
    IPage<MallUserHierarchy> selectPageByEntity(MallUserHierarchy entity, PageVO pageVO);

    IPage<MallUserHierarchy> selectPageByEntity(MallUserHierarchy entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallUserHierarchy entity);
}
